Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3196
Open
weilai-irl wants to merge 27 commits into
Open
Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3196weilai-irl wants to merge 27 commits into
weilai-irl wants to merge 27 commits into
Conversation
…vent it from being cleared by Tiny editor
There was a problem hiding this comment.
Pull request overview
This PR imports the tiny_teamsmeeting TinyMCE plugin into lib/editor/tiny/plugins/teamsmeeting, adding Microsoft Teams meeting creation/link insertion support to Moodle’s Tiny editor, along with supporting DB schema, webservice, UI assets, tests, and CI wiring.
Changes:
- Adds the
tiny_teamsmeetingplugin (PHP integration, settings, capability, DB table, external function, UI scripts/assets). - Adds automated coverage (PHPUnit + Behat) and plugin-scoped CI configs.
- Updates the repository CI workflow matrix to include this new plugin folder.
Reviewed changes
Copilot reviewed 23 out of 41 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| lib/editor/tiny/plugins/teamsmeeting/version.php | Declares plugin metadata/version requirements. |
| lib/editor/tiny/plugins/teamsmeeting/settings.php | Adds admin settings for the Meetings App URL. |
| lib/editor/tiny/plugins/teamsmeeting/result.php | Handles meeting creation result display + persistence + postMessage. |
| lib/editor/tiny/plugins/teamsmeeting/error.php | Renders an iframe-friendly “meeting not found” error page. |
| lib/editor/tiny/plugins/teamsmeeting/README.MD | Usage/installation documentation for the plugin. |
| lib/editor/tiny/plugins/teamsmeeting/pix/icon.svg | Provides Tiny toolbar icon asset. |
| lib/editor/tiny/plugins/teamsmeeting/lang/en/tiny_teamsmeeting.php | English strings (UI, capability, privacy). |
| lib/editor/tiny/plugins/teamsmeeting/lang/pl/tiny_teamsmeeting.php | Polish strings for UI/privacy. |
| lib/editor/tiny/plugins/teamsmeeting/db/access.php | Defines tiny/teamsmeeting:add capability. |
| lib/editor/tiny/plugins/teamsmeeting/db/install.xml | Defines DB table for storing meeting info. |
| lib/editor/tiny/plugins/teamsmeeting/db/services.php | Registers AJAX webservice function/service. |
| lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php | Tiny plugin integration (buttons/config/is_enabled). |
| lib/editor/tiny/plugins/teamsmeeting/classes/privacy/provider.php | Privacy API metadata (external location link). |
| lib/editor/tiny/plugins/teamsmeeting/classes/external/get_meeting_details.php | External API to look up existing meetings by URL. |
| lib/editor/tiny/plugins/teamsmeeting/tests/webservice_test.php | PHPUnit tests around capability behavior. |
| lib/editor/tiny/plugins/teamsmeeting/tests/behat/teamsmeeting.feature | Behat scenarios for toolbar button visibility based on capability. |
| lib/editor/tiny/plugins/teamsmeeting/amd/src/plugin.js | Registers the Tiny plugin with TinyMCE. |
| lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js | Shared constants for the JS plugin. |
| lib/editor/tiny/plugins/teamsmeeting/amd/src/options.js | Registers/reads Tiny plugin options (appurl, locale, sesskey, etc.). |
| lib/editor/tiny/plugins/teamsmeeting/amd/src/configuration.js | Injects plugin button into Tiny toolbar configuration. |
| lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js | Implements the toolbar button/dialog, link marking, AJAX lookup, and postMessage handling. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js | Built AMD bundle for plugin loader. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js.map | Sourcemap for built plugin bundle. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js | Built AMD bundle for common constants. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js.map | Sourcemap for common bundle. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js | Built AMD bundle for options. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js.map | Sourcemap for options bundle. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js | Built AMD bundle for toolbar configuration. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js.map | Sourcemap for configuration bundle. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js | Built AMD bundle for commands/dialog behavior. |
| lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js.map | Sourcemap for commands bundle. |
| lib/editor/tiny/plugins/teamsmeeting/.gitlab-ci.yml | Plugin-level GitLab CI configuration for moodle-plugin-ci. |
| lib/editor/tiny/plugins/teamsmeeting/.github/workflows/ci.yml | Plugin-level GitHub Actions workflow for moodle-plugin-ci. |
| .github/workflows/ci.yml | Includes lib/editor/tiny/plugins/teamsmeeting in the repo CI matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6ebf685 to
db0622f
Compare
db0622f to
a3b5da2
Compare
77b2875 to
573777e
Compare
573777e to
94acfdf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.